<!DOCTYPE html>
<html>
<head>
    <title>Uploader</title>
    <meta charset="UTF-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <link rel="stylesheet" href="assets/pdf/kancloud/webuploader.css"/>
    <link rel="stylesheet" href="assets/pdf/kancloud/demo.css"/>
    <script src='assets/pdf/js/jquery-1.10.2.min.js'></script>
    <script src='assets/pdf/kancloud/webuploader.min.js'></script>
</head>
<body style="overflow: hidden">
<div id="uploader">
    <div class="queueList">
        <div id="dndArea" class="placeholder">
            <div id="filePicker"></div>
            <p>或将照片拖到这里，单次最多可选300张</p>
        </div>
    </div>
    <div class="statusBar" style="display:none;">
        <div class="progress">
            <span class="text">0%</span>
            <span class="percentage"></span>
        </div>
        <div class="info"></div>
        <div class="btns">
            <div id="filePicker2"></div>
            <div class="uploadBtn">开始上传</div>
        </div>
    </div>
</div>
<script>
    if (window.top===window.self) {
        $('body').html('请以内嵌窗口打开');
    }
    var PARENT_WINDOW = window.parent;
    var UPLOAD_SERVER_URL = "{{ url('/public/upload') }}";
    var uploader = null;
    var CATID = {{ catid }};
    var ARTID = {{ artid }};
    var CALLBACK = "{{ callback }}";
    var NUMBER = {{ imagenum }};
</script>
<script type="text/javascript" src="assets/pdf/kancloud/webuploader_titleimg.js"></script>
</body>
</html>